<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@include file="/common/common.jsp"%>
<%@include file="/common/skins/skin0/component.jsp" %>
<h:css href="/css/style1/style-custom.css"/>
<%--
- Author(s): pengweiling
- Date: 2012-07-20 11:22:02
- Description:
--%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>
      工作帐录入
    </title>
<%
  String ua = request.getHeader( "User-Agent" );
  boolean isMSIE = ( ua != null && ua.indexOf( "MSIE" ) != -1 );
  if (isMSIE==true){

%>
<script type="text/javascript" src="OrderMgr/script/json2.js"></script>  
  
<%} %>      
    <script type="text/javascript" src="commonPick/script/utils.js"></script>    
    <script type="text/javascript" src="OrderMgr/script/order.js"></script>
    <script type="text/javascript" src="OrderMgr/script/orderAjax.js"></script>    
  </head>
  <body>
    <e:datasource name="weordertasks" type="entity" path="com.hms.OrderMgr.order.WeOrdertasks" />
    <h:form name="data_form" action="com.hms.OrderMgr.WorkbookMaintain.flow" method="post" onsubmit="return submitDatacell(this);">
      <h:hidden property="weordertasks/iorderid" />
      <l:equal property="_eosLastAccessAction" targetValue="update">
        <input type="hidden" name="_eosFlowAction" value="updateSubmit" >
      </l:equal>
      <%@include file="/OrderMgr/WorkBookHeader.jsp" %>



 

      <div style="display:none">
      <r:datacell entityType="com.hms.OrderMgr.order.WeGres" id="gress" submitXpath="weordertasks/gress" width="100%" xpath="weordertasks/gress" height="20">
        <r:toolbar location="top" tools="edit:add del"/>
        <r:field fieldName="cgresno" label="cgresno">
          <h:text/>
        </r:field>
      </r:datacell>
      </div>
      <w:tabPanel bodyStyle="" defaultTab="pgBill" height="" id="tbBills" titleStyle="" width="100%">
        <w:tabPage cache="true" id="pgBill" tabType="div" title="账单列表">
        <%@include file="/OrderMgr/Bill.jsp" %>
        </w:tabPage>
      </w:tabPanel>

    </h:form>
    <script>
      function submitDatacell(frm) {
        return checkForm(frm);
      }
      
      bindHandlerEvent();
      $id("bills").beforeRefresh = calBalanceAmt;  
    </script>
  </body>
</html>
